﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using PPI.General;
using PPI.WebConsumer.PPI.Svc;

namespace PPI.WebConsumer
{
    public class WXMissionStructures_TopType
    {
        public static DataSet SelectAllIdName()
        {
            ConfigReader _Reader = ConfigReader.GetInstance();
            PPI.Svc.Service1 svc = new Service1();

            return svc.TopType_SelectAllIdName(_Reader.ConectionMode);
        }

        public static DataSet SelectAllIdNameByType(int type)
        {
            ConfigReader _Reader = ConfigReader.GetInstance();
            PPI.Svc.Service1 svc = new Service1();

            return svc.TopType_SelectAllIdNameByType(type, _Reader.ConectionMode);
        }
    }
}
